\documentclass[a4paper]{article}

\usepackage{pgfplots}

\pgfplotsset{compat=1.3}
\begin{document}

\begin{tikzpicture}
	\begin{semilogyaxis}%[ymin=5]
	%\tracingmacros=2 \tracingcommands=2
	\addplot+[domain=1e-4:10,ycomb] {exp(x)};
	\end{semilogyaxis}
\end{tikzpicture}


\end{document}

